//
//  BPBaseViewController.m
//  BeautyPicture
//
//  Created by 沈振邦 on 15/10/28.
//  Copyright © 2015年 szb. All rights reserved.
//

#import "BPBaseViewController.h"
#import "childBaseTableViewCell.h"

@interface BPBaseViewController ()

@end

@implementation BPBaseViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self drawUI];
    
}

- (void)getOrderData
{
    
}

- (void)drawUI
{
    self.view.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:self.headView];
}

- (UIView *)headView
{
    if (!_headView) {
        _headView = [[UIView alloc] initWithFrame:CGRectMake(0, BPScreenNavY, BPScreenW, 50.0f)];
        BPLineView *topline = [[BPLineView alloc] initWithFrame:CGRectMake(0, _headView.height - 1, BPScreenW, 1)];
        [_headView addSubview:topline];
    }
    return _headView;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
